3.407 \(\int (a+b \log (c (d (e+f x)^m)^n)) \, dx\)

Optimal. Leaf size=34 \[ a x+\frac {b (e+f x) \log \left (c \left (d (e+f x)^m\right )^n\right )}{f}-b m n x \]

[Out]

a*x-b*m*n*x+b*(f*x+e)*ln(c*(d*(f*x+e)^m)^n)/f

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2389, 2295, 2445} \[ a x+\frac {b (e+f x) \log \left (c \left (d (e+f x)^m\right )^n\right )}{f}-b m n x \]

Antiderivative was successfully verified.

[In]

Int[a + b*Log[c*(d*(e + f*x)^m)^n],x]

[Out]

a*x - b*m*n*x + (b*(e + f*x)*Log[c*(d*(e + f*x)^m)^n])/f

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rule 2445

Int[((a_.) + Log[(c_.)*((d_.)*((e_.) + (f_.)*(x_))^(m_.))^(n_)]*(b_.))^(p_.)*(u_.), x_Symbol] :> Subst[Int[u*(
a + b*Log[c*d^n*(e + f*x)^(m*n)])^p, x], c*d^n*(e + f*x)^(m*n), c*(d*(e + f*x)^m)^n] /; FreeQ[{a, b, c, d, e,
f, m, n, p}, x] &&  !IntegerQ[n] &&  !(EqQ[d, 1] && EqQ[m, 1]) && IntegralFreeQ[IntHide[u*(a + b*Log[c*d^n*(e
+ f*x)^(m*n)])^p, x]]

Rubi steps

\begin {align*} \int \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right ) \, dx &=a x+b \int \log \left (c \left (d (e+f x)^m\right )^n\right ) \, dx\\ &=a x+b \operatorname {Subst}\left (\int \log \left (c d^n (e+f x)^{m n}\right ) \, dx,c d^n (e+f x)^{m n},c \left (d (e+f x)^m\right )^n\right )\\ &=a x+b \operatorname {Subst}\left (\frac {\operatorname {Subst}\left (\int \log \left (c d^n x^{m n}\right ) \, dx,x,e+f x\right )}{f},c d^n (e+f x)^{m n},c \left (d (e+f x)^m\right )^n\right )\\ &=a x-b m n x+\frac {b (e+f x) \log \left (c \left (d (e+f x)^m\right )^n\right )}{f}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 34, normalized size = 1.00 \[ a x+\frac {b (e+f x) \log \left (c \left (d (e+f x)^m\right )^n\right )}{f}-b m n x \]

Antiderivative was successfully verified.

[In]

Integrate[a + b*Log[c*(d*(e + f*x)^m)^n],x]

[Out]

a*x - b*m*n*x + (b*(e + f*x)*Log[c*(d*(e + f*x)^m)^n])/f

________________________________________________________________________________________

fricas [A]  time = 0.45, size = 50, normalized size = 1.47 \[ \frac {b f n x \log \relax (d) + b f x \log \relax (c) - {\left (b f m n - a f\right )} x + {\left (b f m n x + b e m n\right )} \log \left (f x + e\right )}{f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a+b*log(c*(d*(f*x+e)^m)^n),x, algorithm="fricas")

[Out]

(b*f*n*x*log(d) + b*f*x*log(c) - (b*f*m*n - a*f)*x + (b*f*m*n*x + b*e*m*n)*log(f*x + e))/f

________________________________________________________________________________________

giac [A]  time = 0.18, size = 64, normalized size = 1.88 \[ {\left (\frac {{\left (f x + e\right )} m n \log \left (f x + e\right )}{f} - \frac {{\left (f x + e\right )} m n}{f} + \frac {{\left (f x + e\right )} n \log \relax (d)}{f} + \frac {{\left (f x + e\right )} \log \relax (c)}{f}\right )} b + a x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a+b*log(c*(d*(f*x+e)^m)^n),x, algorithm="giac")

[Out]

((f*x + e)*m*n*log(f*x + e)/f - (f*x + e)*m*n/f + (f*x + e)*n*log(d)/f + (f*x + e)*log(c)/f)*b + a*x

________________________________________________________________________________________

maple [A]  time = 0.05, size = 42, normalized size = 1.24 \[ \frac {b e m n \ln \left (f x +e \right )}{f}-b m n x +b x \ln \left (c \left (d \left (f x +e \right )^{m}\right )^{n}\right )+a x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(b*ln(c*(d*(f*x+e)^m)^n)+a,x)

[Out]

a*x+b*x*ln(c*(d*(f*x+e)^m)^n)-b*m*n*x+b*e/f*m*n*ln(f*x+e)

________________________________________________________________________________________

maxima [A]  time = 0.62, size = 45, normalized size = 1.32 \[ -b f m n {\left (\frac {x}{f} - \frac {e \log \left (f x + e\right )}{f^{2}}\right )} + b x \log \left (\left ({\left (f x + e\right )}^{m} d\right )^{n} c\right ) + a x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a+b*log(c*(d*(f*x+e)^m)^n),x, algorithm="maxima")

[Out]

-b*f*m*n*(x/f - e*log(f*x + e)/f^2) + b*x*log(((f*x + e)^m*d)^n*c) + a*x

________________________________________________________________________________________

mupad [B]  time = 0.21, size = 41, normalized size = 1.21 \[ x\,\left (a-b\,m\,n\right )+b\,x\,\ln \left (c\,{\left (d\,{\left (e+f\,x\right )}^m\right )}^n\right )+\frac {b\,e\,m\,n\,\ln \left (e+f\,x\right )}{f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(a + b*log(c*(d*(e + f*x)^m)^n),x)

[Out]

x*(a - b*m*n) + b*x*log(c*(d*(e + f*x)^m)^n) + (b*e*m*n*log(e + f*x))/f

________________________________________________________________________________________

sympy [A]  time = 0.97, size = 58, normalized size = 1.71 \[ a x + b \left (\begin {cases} \frac {e m n \log {\left (e + f x \right )}}{f} + m n x \log {\left (e + f x \right )} - m n x + n x \log {\relax (d )} + x \log {\relax (c )} & \text {for}\: f \neq 0 \\x \log {\left (c \left (d e^{m}\right )^{n} \right )} & \text {otherwise} \end {cases}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(a+b*ln(c*(d*(f*x+e)**m)**n),x)

[Out]

a*x + b*Piecewise((e*m*n*log(e + f*x)/f + m*n*x*log(e + f*x) - m*n*x + n*x*log(d) + x*log(c), Ne(f, 0)), (x*lo
g(c*(d*e**m)**n), True))

________________________________________________________________________________________